home *** CD-ROM | disk | FTP | other *** search
Text File | 1999-05-07 | 2.0 KB | 62 lines | [TEXT/MPS ] |
- ;
- ; File: CMCalibrator.a
- ;
- ; Contains: ColorSync Calibration API
- ;
- ; Version: Technology: ColorSync 2.5
- ; Release: ColorSync 2.6 SDK for use with Universal Interfaces 3.1
- ;
- ; Copyright: © 1998 by Apple Computer, Inc., all rights reserved.
- ;
- ; Bugs?: For bug reports, consult the following page on
- ; the World Wide Web:
- ;
- ; http://developer.apple.com/bugreporter/
- ;
- ;
- IF &TYPE('__CMCALIBRATOR__') = 'UNDEFINED' THEN
- __CMCALIBRATOR__ SET 1
-
- IF &TYPE('__CMAPPLICATION__') = 'UNDEFINED' THEN
- include 'CMApplication.a'
- ENDIF
- IF &TYPE('__DISPLAYS__') = 'UNDEFINED' THEN
- include 'Displays.a'
- ENDIF
- IF &TYPE('__ERRORS__') = 'UNDEFINED' THEN
- include 'Errors.a'
- ENDIF
-
-
- ; Interface for new ColorSync monitor calibrators (ColorSync 2.6 and greater)
-
-
- kCalibratorNamePrefix EQU 'cali'
- CalibratorInfo RECORD 0
- dataSize ds.l 1 ; offset: $0 (0) ; Size of this structure - compatibility
- displayID ds.l 1 ; offset: $4 (4) ; Contains an hDC on Win32
- profileLocationSize ds.l 1 ; offset: $8 (8) ; Max size for returned profile location
- profileLocationPtr ds.l 1 ; offset: $C (12) ; For returning the profile
- eventProc ds.l 1 ; offset: $10 (16) ; Ignored on Win32
- isGood ds.b 1 ; offset: $14 (20) ; true or false
- ORG 22
- sizeof EQU * ; size: $16 (22)
- ENDR
- IF OLDROUTINENAMES THEN
- ; Interface for original ColorSync monitor calibrators (ColorSync 2.5.x)
-
- kOldCalibratorNamePrefix EQU 'Cali'
- OldCalibratorInfo RECORD 0
- displayID ds.l 1 ; offset: $0 (0) ; Contains an hDC on Win32
- profileLocation ds CMProfileLocation ; offset: $4 (4)
- eventProc ds.l 1 ; offset: $106 (262) ; Ignored on Win32
- reserved ds.l 1 ; offset: $10A (266) ; Unused
- flags ds.l 1 ; offset: $10E (270) ; Unused
- isGood ds.b 1 ; offset: $112 (274) ; true or false
- byteFiller ds.b 1 ; offset: $113 (275) ; Unused
- sizeof EQU * ; size: $114 (276)
- ENDR
- ENDIF ; OLDROUTINENAMES
- ENDIF ; __CMCALIBRATOR__
-
-